#ifndef FILEMANAGER_H_INCLUDED
#define FILEMANAGER_H_INCLUDED

#include <wx/wxprec.h>
#include <M_Code_plugin.h>
#include "FileExplorer.h"

class FileManagerPlugin : public M_Code_Plugin {
  public:
    FileManagerPlugin();
    virtual ~FileManagerPlugin();

  protected:
    virtual void BuildMenu( wxMenuBar* ) {}
    virtual void BuildModuleMenu( const ModuleType type, wxMenu* menu, const FileTreeData* data = 0 );
    virtual bool BuildToolBar( wxToolBar* ) {return false;}
    virtual void OnAttach();
    virtual void OnRelease( bool appShutDown );
    void OnOpenProjectInFileBrowser( wxCommandEvent& event );
    FileExplorer *m_fe;
    DECLARE_EVENT_TABLE();
  private:
    wxString m_project_selected;
};

#endif
